package com.sky.service;

import com.github.pagehelper.Page;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * @author 董代恒
 * @version 1.0
 */
public interface DishService {
    void saveDishWithFlavors(DishDTO dishDTO);

    PageResult selectPage(DishPageQueryDTO dishPageQueryDTO);

    void delete(List<Long> ids);

    List<Dish> selectDishByCategoryId(Long categoryId);
}
